package com.zhiqianbao.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 子龙 on 2017/4/24.
 */

public class ContaciInfo implements Serializable {

    /**
     * code : 0
     * msg : 查询所有联系人成功
     * data : {"marriage":"\u201d2\u201d","userContacts":[{"id":10,"userId":14,"name":"郭颖娟","relation":"妻子","phone":"18630132751","checkState":null,"checkUser":null,"checkTime":null,"remark":null},{"id":13,"userId":14,"name":"yu","relation":"父子","phone":"13125432154","checkState":"0","checkUser":null,"checkTime":null,"remark":"新"}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "ContaciInfo{" +
                "code='" + code + '\'' +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }

    public static class DataBean {
        /**
         * marriage : ”2”
         * userContacts : [{"id":10,"userId":14,"name":"郭颖娟","relation":"妻子","phone":"18630132751","checkState":null,"checkUser":null,"checkTime":null,"remark":null},{"id":13,"userId":14,"name":"yu","relation":"父子","phone":"13125432154","checkState":"0","checkUser":null,"checkTime":null,"remark":"新"}]
         */

        private String marriage;
        private List<UserContactsBean> userContacts;

        public String getMarriage() {
            return marriage;
        }

        public void setMarriage(String marriage) {
            this.marriage = marriage;
        }

        public List<UserContactsBean> getUserContacts() {
            return userContacts;
        }

        public void setUserContacts(List<UserContactsBean> userContacts) {
            this.userContacts = userContacts;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "marriage='" + marriage + '\'' +
                    ", userContacts=" + userContacts +
                    '}';
        }

        public static class UserContactsBean {


            private int id;
            private int userId;
            private String name;
            private String relation;
            private String phone;
            private Object checkState;
            private Object checkUser;
            private Object checkTime;
            private Object remark;
            private String reltive;

            public String getReltive() {
                return reltive;
            }

            public void setReltive(String reltive) {
                this.reltive = reltive;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getRelation() {
                return relation;
            }

            public void setRelation(String relation) {
                this.relation = relation;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public Object getCheckState() {
                return checkState;
            }

            public void setCheckState(Object checkState) {
                this.checkState = checkState;
            }

            public Object getCheckUser() {
                return checkUser;
            }

            public void setCheckUser(Object checkUser) {
                this.checkUser = checkUser;
            }

            public Object getCheckTime() {
                return checkTime;
            }

            public void setCheckTime(Object checkTime) {
                this.checkTime = checkTime;
            }

            public Object getRemark() {
                return remark;
            }

            public void setRemark(Object remark) {
                this.remark = remark;
            }

            @Override
            public String toString() {
                return "UserContactsBean{" +
                        "id=" + id +
                        ", userId=" + userId +
                        ", name='" + name + '\'' +
                        ", relation='" + relation + '\'' +
                        ", phone='" + phone + '\'' +
                        ", checkState=" + checkState +
                        ", checkUser=" + checkUser +
                        ", checkTime=" + checkTime +
                        ", remark=" + remark +
                        '}';
            }
        }
    }
}
